home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib7
/
v_09_09
/
9n09104b
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
561 b
|
16 lines
ticks = 0;
while(ticks < stopcount)
{
ticks++; /* ERROR: pre-incrementing
causes last data entry to
be written past the end of the
array before the while limit
is reached */
if(dataready)
{
*(datapointer + ticks) = process_data();
}
}